package krypto.exercise;

public class LocalTimer {
	private long stopwatchStart, stopwatchStop;

	LocalTimer() {
		stopwatchStart = System.currentTimeMillis();
	}

	public void stop () { 
		stopwatchStop = System.currentTimeMillis();
		System.out.println("Operation lasted " + (stopwatchStop - stopwatchStart) + " milliseconds.");
	}
}